<include file="Public/min-header"/>
<div class="wrapper">
    <include file="Public/breadcrumb"/>
    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">
            <div class="pull-right">
                <a href="javascript:history.go(-1)" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="返回"><i class="fa fa-reply"></i></a>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="fa fa-list"></i> 评估详情</h3>
                </div>
                <div class="panel-body ">
                    <!--表单数据-->
                    <form method="post" id="handleposition" action="{:U('Admin/Evaluation/evaluationHandle')}">
                        <!--通用信息-->
                        <div class="tab-content col-md-10">
                            <div class="tab-pane active" id="tab_tongyong">
                                <table class="table table-bordered">
                                    <tbody>
                                    <tr>
                                        <td class="col-sm-2">商品名称：</td>
                                        <td class="col-sm-8">
                                            {$info.t_name}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>回收方式：</td>
                                        <td>
                                            {$info.do_type_name}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>手机号：</td>
                                        <td>
                                            {$info.mobile}
                                        </td>
                                    </tr>
                                    <if condition="$info['do_type'] eq 2 ">
                                    <tr>
                                        <td>上门地址：</td>
                                        <td>
                                            {$info.shop_address}
                                        </td>
                                    </tr>
                                    </if>
                                    <tr>
                                        <td>商品回收价：</td>
                                        <td>
                                            {$info.goods_evaluation_money}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>商品折损价格：</td>
                                        <td>
                                            {$info.deduct_money}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>折损价格详细：</td>
                                        <td>
                                            <table class="table table-bordered">
                                                <tbody>
                                                    <tr>
                                                        <td class="col-sm-5">评估内容</td>
                                                        <td class="col-sm-5">折损价格</td>
                                                    </tr>
                                                    <foreach name="info[evaluation_name_arr]" item="vo" key="k">
                                                    <tr>
                                                        <td class="col-sm-5">{$vo}</td>
                                                        <td class="col-sm-5">{$info[evaluation_money_arr][$k]}</td>
                                                    </tr>
                                                    </foreach>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>商品评估价格：</td>
                                        <td>
                                            {$info.new_money}
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>添加时间：</td>
                                        <td>
                                            {$info.add_time}
                                        </td>
                                    </tr>
                                    </tbody>
                                    <tfoot>
                                    <tr>
                                        <td><input type="hidden" name="act" value="{$act}">
                                            <input type="hidden" name="evaluation_id" value="{$info.evaluation_id}">
                                        </td>
                                        <!--<td class="text-right"><input class="btn btn-primary" type="button" onclick="adsubmit()" value="保存"></td>-->
                                    </tr>
                                    </tfoot>
                                </table>
                            </div>
                        </div>
                    </form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>
<script>
    function adsubmit() {
        $('#handleposition').submit();
    }
</script>
</body>
</html>